import instance from "../fuwuqi/http";

//全部分类接口
export function getfenleialldata(data?:null){
    return instance({
        method:'get',
        url:'/catalog/index',
        params:data
    })
}

//当前分类接口
export function getcurrentfenleidata(data:{
    id:string
}){
    return instance({
        method:'get',
        url:'/catalog/current',
        params:data
    })
}